package com.yyy.gui.pannel;

import com.yyy.gui.listener.RecoverListener;
import com.yyy.util.ColorUtil;
import com.yyy.util.GUIUtil;

import javax.swing.*;

/**
 * @Author：yyy
 * @Package：com.yyy.gui.pannel
 * @Project：HuTuBiill
 * @name：RecoverPanel
 * @Date：2024/11/9 22:34
 * @Filename：RecoverPanel
 */
public class RecoverPanel extends WorkingPanel{
    public static RecoverPanel instance=new RecoverPanel();

    public JButton bRevover=new JButton("恢复");

    public RecoverPanel(){
        GUIUtil.setColor(ColorUtil.blueColor,bRevover);
        this.add(bRevover);
        addListener();
    }

    @Override
    public void addListener() {
        RecoverListener recoverListener=new RecoverListener();
        bRevover.addActionListener(recoverListener);

    }

    @Override
    public void updateData() {

    }
}
